<?php

use yii\helpers\Html;


$this->title = Yii::t('app.order', 'Create Order');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Orders'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
//print_r($product->getAttributes());
?>
<div class="order-create">
    <h2 class="page-header">
		<small><?= Html::encode($product->name) ?>&nbsp;&nbsp;&nbsp; <?= Html::encode($product->go_time) ?></small>
		<a class="btn btn-default pull-right" href="/order/order/index?product_id=<?= $product->id ?>">返回列表</a>
	</h2>

    <?= $this->render('_form', [
        'model' => $model,
    ]) ?>

</div>
